package com.common.utils.file.fileException;

/**
 * @Author: zql
 * @Description: 文件名称超长限制异常类
 * @Data: 17:04 2021/4/30
 */
public class FileNameLengthLimitExceededException extends FileException {
    public FileNameLengthLimitExceededException(Throwable e) {
        super(e);
    }

    public FileNameLengthLimitExceededException(String message) {
        super(""+ message);
    }

    public FileNameLengthLimitExceededException(int maxNameLength) {
        super("文件名太长，文件最大长度为:"+ maxNameLength);
    }

    public FileNameLengthLimitExceededException(String message, Throwable throwable) {
        super(message, throwable);
    }
}
